//
//  Animate.m
//  ___PROJECTNAME___
//
//  Created by Goffredo Marocchi on 8/14/10.
//  Copyright 2010 unofficial_sio2_template. All rights reserved.
//

#import "Animate.h"

@implementation Animate

@synthesize deltaTimeStart;

-(id) init {

	if (self=[super init]) {
		animationArr = [[NSMutableArray alloc] init];
		deltaTimeStart = 0;
	}
	return self;
}

-(void) addAnimation:(Animation*) action {
	[animationArr addObject:action];
}

-(void) processAnimations:(int)dtime {
	deltaTimeStart += dtime;
	
}

-(void) resetDeltaTime {
	deltaTimeStart = 0;
}

-(void) dealloc {
	[animationArr release];
	[super dealloc];
}

@end
